package com.genius.reservation.reservation.entity;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;

import com.genius.reservation.car.entity.CarInformation;
import com.genius.reservation.driver.entity.DriverInformation;
import com.genius.reservation.platform.entity.PlatformInformation;
import com.genius.reservation.receiver.entity.ReceiverInformation;
import com.genius.reservation.supplier.entity.SupplierInformation;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 * 预约信息
 * </p>
 *
 * @author baomidou
 * @since 2022-05-26
 */
@TableName("reservation_order_information")
@ApiModel(value = "订单和预约单对应表", description = "订单和预约单对应表")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class ReservationOrderInformation implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("预约单号")
    private String reservationNumber;

    @ApiModelProperty("订单号")
    private String orderNumber;

    @ApiModelProperty("供应商编号")
    private String supplierNumber;

    @ApiModelProperty("供应商名称")
    private String supplierName;

    @ApiModelProperty("品项数")
    private Integer gdsCount;

    @ApiModelProperty("件数")
    private Integer gdsNumber;

    @ApiModelProperty("开始时间")
    private String recordDate;

    @ApiModelProperty("结束时间")
    private String endDate;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    @ApiModelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private String updateTime;

}
